// funcao que habilita e desabilita campos da filtargem de relatorios.

function camposOff(){
	
	    if(document.getElementById('1').checked){    
	        document.getElementById('nome').disabled = true;  
	    } else {    
	        document.getElementById('nome').disabled = false;    
	    }    
	    if(document.getElementById('2').checked){    
	        document.getElementById('setor').disabled = true;  
	    } else {    
	        document.getElementById('setor').disabled = false;    
	    }  
	    if(document.getElementById('3').checked){    
	        document.getElementById('funcao').disabled = true;  
	    } else {    
	        document.getElementById('funcao').disabled = false;    
	    }  
	    if(document.getElementById('4').checked){    
	        document.getElementById('situacao').disabled = true;  
	    } else {    
	        document.getElementById('situacao').disabled = false;    
	    }  
 
}

function camposOn(){
	
    if(document.getElementById('1').checked == false){    
        document.getElementById('nome').disabled = false;  
    } else {    
        document.getElementById('nome').disabled = true;    
    }    
    if(document.getElementById('2').checked== false){    
        document.getElementById('setor').disabled = false;  
    } else {    
        document.getElementById('setor').disabled = true;    
    }  
    if(document.getElementById('3').checked== false){    
        document.getElementById('funcao').disabled = false;  
    } else {    
        document.getElementById('funcao').disabled = true;    
    }  
    if(document.getElementById('4').checked== false){    
        document.getElementById('situacao').disabled = false;  
    } else {    
        document.getElementById('situacao').disabled = true;    
    }  

}